<!-- layout::Admin:iframe/header::$tpl_cache_date -->

<!-- Start Page Header -->
<div id="page-header">
    <h1><?=$title?></h1>
</div>
<!-- End Page Header -->

<!-- Start Grid -->
<div class="container_12">

<!-- Show Message -->
<div id="message_block"></div>

<!-- Start Table -->
<div class="grid_12">
    <div class="box-header"> 检索条件 </div>
    <div class="box">
        <form id="search_form" method="post">
        <div class="row">
            <label for="keyword" title="用户名所包含的关键词">关键字</label>
            <input type="text" name="keyword" id="keyword" />
        </div>
        <div class="row">
            <label for="order" title="输出排序">排序</label>
            <select name="order" id="order">
                <option value="0" selected="selected">ID （默认）</option>
                <option value="1">注册时间</option>
                <option value="2">最后登录时间</option>
            </select>
        </div>
        <div class="row">
            <label for="sex" title="性别过滤">性别</label>
            <select name="sex" id="sex">
                <option value="-1" selected="selected">全部 （默认）</option>
                <option value="0">保密</option>
                <option value="1">男</option>
                <option value="2">女</option>
            </select>
        </div>
        <div class="row">
            <label></label>
            <input type="submit" value="提交" class="button" />
            <input type="reset" value="重置" class="button" />
        </div>
        </form>
    </div>
</div>
</div>
<!-- End Table -->

<script type="text/javascript">
$(function(){
    $("#search_form").submit(function(){
        var form_keyword = $("#keyword").val();
        var form_order = $("#order").val();

        if(form_keyword.length == 0) {
            Message.Show('关键词不能为空', 'error', '#keyword');
            return false;
        } else {
            Message.Hide();
        }
    });
});
</script>

<!-- layout::Admin:iframe/footer::$tpl_cache_date -->